package com.xb.loan.util.xmladapter.convert;

import javax.xml.bind.annotation.adapters.XmlAdapter;

public class StringAdapter extends XmlAdapter<String, String> {
 
    @Override
    public String unmarshal(String str) throws Exception {
         
        return str;
    }
 
    @Override
    public String marshal(String str) throws Exception {
        
    	if(str == null){
    		
    		return ""; 
    	}
        return str;
    }
 
}